package com.hui.service;

import com.github.pagehelper.PageInfo;
import com.hui.dto.*;
import com.hui.entity.Course;
import com.hui.entity.Direction;
import com.hui.excel.CourseExcel;
import com.hui.excel.DirectionExcel;
import com.hui.vo.CourseVO;
import com.hui.vo.DirectionVO;

import java.util.List;

public interface CourseService {
    int insert(CourseInsertDTO dto);
    Course select(Long id);
    List<CourseVO> list();
    PageInfo<Course> page(CoursePageDTO dto);
    int update(CourseUpdateDTO dto);
    int delete(Long id);
    int deleteBatch(List<Long> ids);
    List<CourseExcel> getExcelData();


}
